package com.bfsuol;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication(exclude = {HibernateJpaAutoConfiguration.class},scanBasePackages = {"com.bfsuol"})
@MapperScan(basePackages = {"com.bfsuol.**.dao"})
@ServletComponentScan(basePackages = {"com.bfsuol.bfsuolframework.core.servlet","com.bfsuol.bfsuolframework.security.servlet",
"com.bfsuol.bfsuolframework.core.spring"})
public class WebApplication {

    public static void main(String[] args) {
        org.springframework.boot.SpringApplication.run(WebApplication.class, args);
    }


}
